package com.rent.writeoff.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rent.writeoff.entity.RentPlan;
import com.rent.writeoff.mapper.RentPlanMapper;
import com.rent.writeoff.service.RentPlanService;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class RentPlanServiceImpl extends ServiceImpl<RentPlanMapper, RentPlan> implements RentPlanService {

    @Override
    public List<RentPlan> getUnwrittenOffByLesseeForUpdate(String lesseeName) {
        return baseMapper.selectUnwrittenOffByLesseeForUpdate(lesseeName);
    }
}
